The Round function. This function lets you replace a linear function of the input value by the closest integer, multiplied by a constant. The function respects the usual 窶.5窶 convention. Thus, the closest integer to e.g., 14.5 is 15, while the closest integer to e.g., -14.5 is 14.
By adjusting the parameters, you can create a large variety of round-off rules. Assume, e.g., that you want to replace the input value by the closest multiple of 0.5. To do this, enter 0.5 into the 窶彗窶 field, 2 into the 窶彙窶 field, and 0 into the 窶彡窶 field.
More generally, let A be a positive number. To replace the input value by the closest multiple of A, enter A into the 窶彗窶 field, 1/A into the 窶彙窶 field, and 0 into the 窶彡窶 field.
You may enter negative parameter values as well. Note however, that the resulting rule reverses the 窶.5窶 convention. Assume e.g., that you enter -1 both in the 窶彗窶 and the 窶彙窶 fields. Then an input value of 14.5 yields an output value of 14, while an input value of -14.5 yields an output value of -15.